package com.qiezikaka.kaka.ui;


import com.qiezikaka.kaka.base.IView;
import com.qiezikaka.kaka.bean.AllBean;
import com.qiezikaka.kaka.bean.BannerInfo;
import com.qiezikaka.kaka.bean.FuZhuangInfo;
import com.qiezikaka.kaka.bean.HomeCateInfo;
import com.qiezikaka.kaka.bean.HotList;
import com.qiezikaka.kaka.bean.ShopInfo;
import com.qiezikaka.kaka.bean.UpdataVersionInfo;

public class MainContract {

    interface View extends IView {
//        void onSuccess(UpdataVersionInfo InfoData);
        void onBannerList(BannerInfo info);
        void onHomeCate(HomeCateInfo info);
        void onFuZhuanList(FuZhuangInfo info);
        void onFuZhuanHotList(FuZhuangInfo info);
        void onFailer(Throwable throwable);
        void onUpdataApp(UpdataVersionInfo InfoData);
        void onGetShop(ShopInfo info);
        void onBindShop(AllBean info);
        void onIsBind(AllBean info);
    }

    interface Presenter {
        void getBannerList();
        void getHomeCate();
        void getFuZhuanList(String cid,String page,String limit,String hot);
        void getFuZhuanHotList(String cid,String page,String limit,String hot);
        void updateVersion();
        void getShopInfo(String id);
        void bindShop(String address,String sid);
        void isBind(String address);
    }

}
